package polymorphic.Class;

public class AbstractClass {

    public static void main(String[] args) {
        Student student = new Student();
        student.run();
    }
}

abstract class Person {
    public abstract void run();
}

class Student extends Person {
    public void run() {
        System.out.println("Student run");
    }
}
